package com.first.teacher.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.first.common.pojo.TbMember;
import org.apache.ibatis.annotations.Update;

/**
 * @program: first-project
 * @description:
 * @author: 马英贤
 * @create: 2023-06-03 16:19
 **/
public interface Membermapper extends BaseMapper<TbMember> {

    @Update("update tb_member SET is_type = 1 WHERE mobile = (SELECT mobile FROM edu_Teacher where id = #{teacher_id})")
    int updateCheckStatus(String teacherId);
}
